package com.jade.shoesmallinterface.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private Integer id;
    // 商品名称
    private String productName;
    // 状态
    private String orderStatus;
    private String brand;
    private String size;
    private String color;
    private Integer price;
    private Integer quantity;
    private String image;
    private Integer subtotal;
    // 订单创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdTime;
    private Integer userId;

}
